package com.hsource.doctorcenter;

import com.hsource.doctorcenter.conf.dataSource.DataSourceType;
import com.hsource.doctorcenter.manager.OrderNotifyTerminalManager;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.data.redis.listener.ChannelTopic;
import org.springframework.data.redis.listener.RedisMessageListenerContainer;
import org.springframework.scheduling.annotation.EnableScheduling;

@ServletComponentScan
@SpringBootApplication
@EnableScheduling
@EnableDiscoveryClient
@EnableFeignClients
@MapperScan(basePackages={"com.hsource.doctorcenter.mapper"})
public class DoctorCenterApplication {

	public static void main(String[] args) {
		SpringApplication.run(DoctorCenterApplication.class, args);
	}
}
